//
//  MenuView.h
//  JieFangShop2.0
//
//  Created by Apple on 15/4/16.
//  Copyright (c) 2015年 yuanlin. All rights reserved.
//

#import <UIKit/UIKit.h>

@class MenuView;
@protocol clickMenuDelegate <NSObject>

-(void)clickMenuAt:(NSInteger)index;
-(void)showAllMenuWith:(BOOL)isMore;

@end
@interface MenuView : UIView

@property (nonatomic) id<clickMenuDelegate> delegate;


//屏幕宽度
@property (nonatomic, assign) CGFloat menuWidth;
//menu标题
@property (nonatomic, strong) NSArray *menutitles;

- (MenuView *)initWithArray:(NSArray *)array;

@property (nonatomic,assign)NSInteger currentSelectedIndex;

@end
